using UnityEngine;

public class ContainerUI_SelectButton : MyButton
{
    [SerializeField]
    private EItem eItem;
    public EItem Eitem { get => eItem; }
    private ContainerUI_SelectButtonManager manager;

    protected void Start()
    {
        manager = GetComponentInParent<ContainerUI_SelectButtonManager>();
    }

    protected override void OnClick()
    {
        manager.ScreenCondition = eItem;
    }
}
